<!doctype html>
<html>
  <body>
    <table border = 1>
      <tr>
        <td>Emotion</td>
      </tr>
      {% for row in result %}
        <tr>
          <td> {{ row.emotion }} </td>
        </tr>
      {% endfor %}
    </table>
  </body>
</html>